@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
    font-weight: 700;
}

html {
    height: 100%;
    box-sizing: border-box;
}

#app {
    height: 100%;
    overflow: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

div:focus {
    outline: none;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: ' ';
        clear: both;
        height: 0;
    }
}

.app-container {
    padding: 20px;
    background-color: #fff;
}

body {
    -ms-overflow-style: none;
    height: 100%;
    overflow: auto;
}


/*
上传组件样式
*/

.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.avatar-uploader .el-upload:hover {
    border-color: #409eff;
}

.avatar-uploader .avatar-uploader-icon:hover {
    color: #409eff;
}

.setting-btn {
    float: right;
    height: 36px;
    line-height: 36px;
    width: 50px;
    text-align: center;
    vertical-align: middle;
    &:hover,
    &:active {
        color: #007aeb;
    }
    .setting-icon {
        font-size: 30px;
    }
}

.table-container {
    min-height: 400px;
}


/*
搜索模块样式
*/

.search-form {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 0;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    .el-form-item {
        margin-bottom: 20px;
        .el-form-item__content {
            width: 240px;
            vertical-align: middle;
            &>*:not(.el-button) {
                width: 100%;
            }
        }
    }
}

.mobile {
    .search-form {
        display: block;
        padding: 0;
        .el-form-item {
            margin: 10px !important;
            .el-form-item__content {
                width: 100%;
                vertical-align: middle;
            }
            &:last-child {
                // margin-bottom: 10px;
            }
        }
    }
}

.img-box {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    // justify-content: center;
    img {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
    .content {
        line-height: 60px;
        display: inline-block;
        white-space: nowrap;
    }
}

//修改table组件滚动条颜色
.el-table__body-wrapper {
    overflow: auto;
}

.toolbar {
    margin-bottom: 10px;
}

.link-type,
.link-type:focus {
    color: #337ab7;
    cursor: pointer;
    &:hover {
        color: rgb(32, 160, 255);
    }
}

.filter-container {
    padding-bottom: 10px;
    .filter-item {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
    }
}

//refine vue-multiselect plugin
.multiselect {
    line-height: 16px;
}

.multiselect--active {
    z-index: 1000 !important;
}

.link-left {
    margin-left: 5px;
}

.question-item-label {
    margin-top: 10px;
    margin-bottom: 10px !important;
}

.question-item-remove {
    margin-left: 20px;
}

.question-item-content-input {
    margin-left: 8px;
    width: 60%;
}

.question-item-span {
    vertical-align: middle;
    font-size: 14px;
    color: #606266;
    font-weight: 700;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 10px;
}

.question-item-rate {
    line-height: 2.5;
}

.q-title {
    margin: 0px 5px;
    p {
        display: inline !important;
    }
}

.q-content {
    p {
        display: inline !important;
    }
}

.q-item-prefix {
    margin: 5px 10px;
}

.q-item-contain {
    display: inline-block;
}

.q-item-content {
    margin: 5px;
    white-space: normal;
    p {
        display: inline !important;
    }
}

.gapfilling-span {
    color: red;
    padding: 0px 30px;
    margin: 0px 5px;
    border-bottom: 3px double red;
}

.exampaper-item-box {
    margin-top: 20px;
}

.exampaper-item {
    margin: 5px 0px;
}

.ueditor-p {
    display: inline !important;
}

.foot-copyright {
    position: absolute;
    bottom: 0;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    span {
        line-height: 20px;
        text-align: center;
        color: #606266;
        margin: 0px 5px;
        font-size: 14px;
    }
}

.account-foot-copyright {
    position: absolute;
    bottom: 0;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    span {
        line-height: 20px;
        text-align: center;
        color: rgb(179, 185, 192);
        margin: 0px 5px;
        font-size: 14px;
    }
}